package com.community.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.community.common.annotation.Excel;
import com.community.common.core.domain.BaseEntity;

/**
 * record对象 vehicle_record
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class VehicleRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long recordId;

    /** 社区ID */
    @Excel(name = "社区ID")
    private Long communityId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNo;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String vehicleType;

    /** 车主姓名 */
    @Excel(name = "车主姓名")
    private String ownerName;

    /** 车主手机号 */
    @Excel(name = "车主手机号")
    private String ownerPhone;

    /** 车位编号 */
    @Excel(name = "车位编号")
    private String parkingSpaceNo;

    /** 出入闸机 */
    @Excel(name = "出入闸机")
    private String gateDevice;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String paymentMethod;

    /** 入场时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入场时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryTime;

    /** 出场时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出场时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date exitTime;

    /** 社区名称 */
    @Excel(name = "社区名称")
    private String communityName;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 费用 */
    @Excel(name = "费用")
    private BigDecimal fee;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }

    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }

    public void setCarNo(String carNo) 
    {
        this.carNo = carNo;
    }

    public String getCarNo() 
    {
        return carNo;
    }

    public void setVehicleType(String vehicleType) 
    {
        this.vehicleType = vehicleType;
    }

    public String getVehicleType() 
    {
        return vehicleType;
    }

    public void setOwnerName(String ownerName) 
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName() 
    {
        return ownerName;
    }

    public void setOwnerPhone(String ownerPhone) 
    {
        this.ownerPhone = ownerPhone;
    }

    public String getOwnerPhone() 
    {
        return ownerPhone;
    }

    public void setParkingSpaceNo(String parkingSpaceNo) 
    {
        this.parkingSpaceNo = parkingSpaceNo;
    }

    public String getParkingSpaceNo() 
    {
        return parkingSpaceNo;
    }

    public void setGateDevice(String gateDevice) 
    {
        this.gateDevice = gateDevice;
    }

    public String getGateDevice() 
    {
        return gateDevice;
    }

    public void setPaymentMethod(String paymentMethod) 
    {
        this.paymentMethod = paymentMethod;
    }

    public String getPaymentMethod() 
    {
        return paymentMethod;
    }

    public void setEntryTime(Date entryTime) 
    {
        this.entryTime = entryTime;
    }

    public Date getEntryTime() 
    {
        return entryTime;
    }

    public void setExitTime(Date exitTime) 
    {
        this.exitTime = exitTime;
    }

    public Date getExitTime() 
    {
        return exitTime;
    }

    public void setCommunityName(String communityName) 
    {
        this.communityName = communityName;
    }

    public String getCommunityName() 
    {
        return communityName;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setFee(BigDecimal fee) 
    {
        this.fee = fee;
    }

    public BigDecimal getFee() 
    {
        return fee;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("communityId", getCommunityId())
            .append("carNo", getCarNo())
            .append("vehicleType", getVehicleType())
            .append("ownerName", getOwnerName())
            .append("ownerPhone", getOwnerPhone())
            .append("parkingSpaceNo", getParkingSpaceNo())
            .append("gateDevice", getGateDevice())
            .append("paymentMethod", getPaymentMethod())
            .append("entryTime", getEntryTime())
            .append("exitTime", getExitTime())
            .append("communityName", getCommunityName())
            .append("status", getStatus())
            .append("fee", getFee())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
